package com.radiation.rms.controller;


import com.radiation.rms.common.R;
import com.radiation.rms.service.AbnormalDataService;
import com.radiation.rms.vo.RealDataVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 异常数据表 前端控制器
 * </p>
 *
 * @author 1062
 * @since 2021-04-02
 */
@RestController
@RequestMapping("/rms/data/abnormal")
public class AbnormalDataController {
    @Autowired
    private AbnormalDataService abnormalDataService;

    @PostMapping("get")
    public R getAbnormalData(@RequestBody RealDataVo realDataVo){
        return abnormalDataService.getAbnormalData(realDataVo);
    }

}

